import { IRoutersData } from '../index';

const Routes: IRoutersData = [
  {
    path: '/app/demo',
    title: 'demo页',
    // redirect: '/', // 跳转指定页面
    // exact: true, // 路由是否绝对匹配
    component: () => import('@/views/Demo'), // 声明此组件，将不判断是否显示h5/pc组件
    // componentPc: () => import('../views/demo'), // pc页面
    // componentH5: () => import('../views/demo'), // h5页面
  },
  {
    path: '/app/testDemo',
    component: () => import('@/views/TestMain'),
  },
  {
    path: '/app/home',
    component: () => import('@/views/Home'),
  },
  {
    path: '/app/pdfhtml',
    component: () => import('@/views/PdfHtml'),
  },
];
export default Routes;
